package com.ruoyi.ring.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 我的戒指其他设置对象 az_ring_my_other_set
 * 
 * @author liuwp
 * @date 2025-10-15
 */
@Data
public class RingMyOtherSet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 设备sn */
    @Excel(name = "设备sn")
    private String deviceSn;

    /** 单位格式 */
    @Excel(name = "单位格式")
    private String unitFormat;

    /** 温度单位 */
    @Excel(name = "温度单位")
    private String temperatureUnit;

    /** 白天新路/hrv测量间隔 */
    @Excel(name = "白天新路/hrv测量间隔")
    private Long intervalTime;

    /** 血氧饱和度 */
    @Excel(name = "血氧饱和度")
    private Long oxygenSaturation;

    /** 压力 */
    @Excel(name = "压力")
    private Long pressure;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("deviceSn", getDeviceSn())
            .append("unitFormat", getUnitFormat())
            .append("temperatureUnit", getTemperatureUnit())
            .append("oxygenSaturation", getOxygenSaturation())
            .append("pressure", getPressure())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
